package pers.cocoadel.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pers.cocoadel.springcloud.domain.Order;

@Mapper
public interface OrderDao
{
    int create(Order order);

    Order getById(Long Id);

    void update(@Param("orderId") Long orderId, @Param("status")Integer status);
}
